<!doctype html>
<html lang="ko">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0">
<link rel="shortcut icon" type="image/x-icon" href="../assets/favicon.ico">
<title>source\jindo.Foggy.js - Jindo Component - AjaxUI@NHN</title>
<link rel="stylesheet" type="text/css" href="../assets/prettify/prettify-min.css" media="screen">
<script type="text/javascript">
	var isMobile = (function() {
		var r = window.devicePixelRatio || 1;
		if (/windows phone/i.test(navigator.userAgent)) { r = 2; }
		
		var s = Math.max(screen.width / r, screen.height / r);
		
		var m = s < 1024;
		var href = m ? "api.mobile.css" : "api.css";
		document.write('<link rel="stylesheet" type="text/css" href="../assets/' + href + '" media="screen">');
		
		return m;
	})();
</script>

<script type="text/javascript" src="../assets/jindo.desktop.min.js"></script>
<script type="text/javascript" src="../assets/jindo_component.min.js"></script>
</head>
<body class="api-page">
<div id="wrap" class="api-main"><!-- 2Depth 접기 : lft_fold 추가 -->

	<div id="header">
		<h1><a href="../index.html"><span class="blind">JindoJS</span></a></h1>
		<div class="info">
			<span class="version">version 1.6.0</span>
			<span class="bar">|</span>
			<span class="help"><span class="ic_help"></span><a href="http://devcode.nhncorp.com/projects/jindo-component/issue" target="_blank">버그신고/문의</a></span>
		</div>
		<div class="menu">
			<button type="button" id="toggle_search_btn" class="btn_sch"><span class="blind">검색</span></button>
			<button type="button" id="toggle_list_btn" class="btn_snb btn_snb_on"><span class="blind">메뉴</span></button>
			<!-- [D] 클릭시 btn_sch_on,btn_snb_on 추가 -->
		</div>
	</div>

	<!-- sch_frm -->
	<div class="sch_frm hide_when_small">
		<h2 class="blind">검색</h2>
		<div class="filter">
			<input type="search" id="api-filter" placeholder="검색어를 입력하세요.">
		</div>
		<div id="search-tab" style="display:none;">
			<ul class="tabs">
			<li class="tc-tab">전체</li>
			<li class="tc-tab">키워드</li>
			<li class="tc-tab">클래스</li>
			<li class="tc-tab">메서드</li>
			<li class="tc-tab">프로퍼티</li>
			<li class="tc-tab">이벤트</li>
			</ul>
			<div class="panels">
				<ul id="api-all" class="tc-panel"></ul>
				<ul id="api-keywords" class="tc-panel"></ul>
				<ul id="api-classes" class="tc-panel"></ul>
				<ul id="api-methods" class="tc-panel"></ul>
				<ul id="api-attrs" class="tc-panel"></ul>
				<ul id="api-events" class="tc-panel"></ul>
			</div>

		</div>
	</div>
	<!-- // sch_frm -->

	<!-- container -->
	<div id="container">
		<!-- left-columns -->
		<div id="left-columns" class="sidemenu has_scrollbar">
			<h2 class="blind"><a href="../index.html"><span>APIs</span></a></h2>
<div class="snb depth1 scrollbar hide_when_small">
	<!-- [D] style="width:135px; height:384px; -->
	<div class="scrollbar-box">
		<div class="scrollbar-content">
			<div><ul>
			            <li class="">
			            	<a href="../classes/jindo.Accordion.html" class="">
			                	Accordion
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.AjaxHistory.html" class="">
			                	AjaxHistory
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.BrowseButton.html" class="">
			                	BrowseButton
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Cache.html" class="">
			                	Cache
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Calendar.html" class="">
			                	Calendar
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Canvas.html" class="">
			                	Canvas
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.CheckBox.html" class="">
			                	CheckBox
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.CircularRolling.html" class="">
			                	CircularRolling
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Clipboard.html" class="">
			                	Clipboard
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Component.html" class="">
			                	Component
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.DataBridge.html" class="">
			                	DataBridge
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.DatePicker.html" class="">
			                	DatePicker
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.DefaultTextValue.html" class="">
			                	DefaultTextValue
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Dialog.html" class="">
			                	Dialog
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.DragArea.html" class="">
			                	DragArea
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.DropArea.html" class="">
			                	DropArea
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.DynamicTree.html" class="">
			                	DynamicTree
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Effect.html" class="">
			                	Effect
								
								

							    
						        
						            <span class="flag static" title="static"><span class="blind">static</span></span>
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.FileUploader.html" class="">
			                	FileUploader
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.FloatingLayer.html" class="">
			                	FloatingLayer
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Foggy.html" class="">
			                	Foggy
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Formatter.html" class="">
			                	Formatter
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.HTMLComponent.html" class="">
			                	HTMLComponent
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.InlineTextEdit.html" class="">
			                	InlineTextEdit
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.LayerEffect.html" class="">
			                	LayerEffect
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.LayerManager.html" class="">
			                	LayerManager
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.LayerPosition.html" class="">
			                	LayerPosition
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.LazyLoading.html" class="">
			                	LazyLoading
								
								

							    
						        
						            <span class="flag static" title="static"><span class="blind">static</span></span>
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.ModalDialog.html" class="">
			                	ModalDialog
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.MouseGesture.html" class="">
			                	MouseGesture
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.MultipleAjaxRequest.html" class="">
			                	MultipleAjaxRequest
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.NumberFormatter.html" class="">
			                	NumberFormatter
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.NumericStepper.html" class="">
			                	NumericStepper
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Pagination.html" class="">
			                	Pagination
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Rolling.html" class="">
			                	Rolling
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.RollingChart.html" class="">
			                	RollingChart
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.RolloverArea.html" class="">
			                	RolloverArea
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.RolloverClick.html" class="">
			                	RolloverClick
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.ScrollBar.html" class="">
			                	ScrollBar
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.ScrollBox.html" class="">
			                	ScrollBox
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.SelectArea.html" class="">
			                	SelectArea
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.SelectBox.html" class="">
			                	SelectBox
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Slider.html" class="">
			                	Slider
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.StarRating.html" class="">
			                	StarRating
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.TabControl.html" class="">
			                	TabControl
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.TextRange.html" class="">
			                	TextRange
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Timer.html" class="">
			                	Timer
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Transition.html" class="">
			                	Transition
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Tree.html" class="">
			                	Tree
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.UIComponent.html" class="">
			                	UIComponent
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.UploadQueue.html" class="">
			                	UploadQueue
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.WatchInput.html" class="">
			                	WatchInput
								
								

							    
						        
			            	</a>
			            </li>
			        </ul></div>
		</div>
	</div>
	<div class="scrollbar-v">
		<div class="scrollbar-button-up"></div>
		<div class="scrollbar-track">
			<div class="scrollbar-thumb" style="top: 0px; height: 222px; "></div>
		</div>
		<div class="scrollbar-button-down"></div>
	</div>
</div>


<button type="button" title="펼치기" class="btn_open">바로가기 열기<span class="ic"></span></button>
<button type="button" title="접기" class="btn_close">바로가기 닫기<span class="ic"></span></button>

		</div>
		<!-- // left-columns -->

		<!-- main content -->
		<div id="main">
			<div class="main_fix">
				<div class="content">
	
	<h1 class="blind">source/jindo.Foggy.js</h1>
	<div class="tc-panel first">
		<dl class="relation">
			<dt>파일명</dt>
			<dd>jindo.Foggy.js</dd>
			<dt>경로</dt>
			<dd>source/</dd>
		</dl>
		<div id="file" class="file">
		    <pre class="code prettyprint linenums">/**
	@fileOverview&nbsp;특정영역을&nbsp;강조하기&nbsp;위해&nbsp;이외의&nbsp;부분전체를&nbsp;안개처럼&nbsp;뿌옇게&nbsp;가려주는&nbsp;컴포넌트
	@author&nbsp;hooriza,&nbsp;modified&nbsp;by&nbsp;senxation
	@version&nbsp;#__VERSION__#
**/
/**
	특정영역을&nbsp;강조하기&nbsp;위해&nbsp;이외의&nbsp;부분전체를&nbsp;안개처럼&nbsp;뿌옇게&nbsp;가려주는&nbsp;컴포넌트
	Foggy&nbsp;컴포넌트는&nbsp;특정영역을&nbsp;highlighting하기&nbsp;위해&nbsp;이외의&nbsp;부분을&nbsp;안개처럼&nbsp;뿌옇게&nbsp;가려주는&nbsp;기능을&nbsp;한다.
	
	@class&nbsp;jindo.Foggy
	@extends&nbsp;jindo.Component
	@uses&nbsp;jindo.Effect
	@uses&nbsp;jindo.Transition
	
	@keyword&nbsp;foggy,&nbsp;dimmed,&nbsp;안개,&nbsp;뿌옇게,&nbsp;딤드
**/
jindo.Foggy&nbsp;=&nbsp;jindo.$Class({
	/**&nbsp;@lends&nbsp;jindo.Foggy.prototype&nbsp;*/

	_elFog&nbsp;:&nbsp;null,
	_bFogAppended&nbsp;:&nbsp;false,
	_oExcept&nbsp;:&nbsp;null,
	_bFogVisible&nbsp;:&nbsp;false,
	_bFogShowing&nbsp;:&nbsp;false,
	_oTransition&nbsp;:&nbsp;null,
	/**
		Foggy&nbsp;컴포넌트를&nbsp;생성한다.
		@constructor
		@param&nbsp;{Object}&nbsp;[htOption]&nbsp;옵션&nbsp;객체
			@param&nbsp;{String}&nbsp;[htOption.sClassName=&quot;fog&quot;]&nbsp;fog&nbsp;레이어에&nbsp;지정될&nbsp;클래스명
			@param&nbsp;{Number}&nbsp;[htOption.nShowDuration=200]&nbsp;fog&nbsp;레이어가&nbsp;완전히&nbsp;나타나기까지의&nbsp;시간&nbsp;(ms)
			@param&nbsp;{Number}&nbsp;[htOption.nShowOpacity=0.5]&nbsp;fog&nbsp;레이어가&nbsp;모두&nbsp;보여졌을&nbsp;때의&nbsp;투명도&nbsp;(0~1사이의&nbsp;값)
			@param&nbsp;{Number}&nbsp;[htOption.nHideDuration=200]&nbsp;fog&nbsp;레이어가&nbsp;완전히&nbsp;사라지기까지의&nbsp;시간&nbsp;(ms)
			@param&nbsp;{Number}&nbsp;[htOption.nHideOpacity=0]&nbsp;fog&nbsp;레이어를&nbsp;숨기기위해&nbsp;적용할&nbsp;투명도&nbsp;(0~1사이의&nbsp;값)
			@param&nbsp;{Function}&nbsp;[htOption.fShowEffect=jindo.Effect.linear]&nbsp;foggy&nbsp;를&nbsp;표시할&nbsp;때&nbsp;적용할&nbsp;효과
			@param&nbsp;{Function}&nbsp;[htOption.fHideEffect=jindo.Effect.linear]&nbsp;foggy&nbsp;를&nbsp;숨길&nbsp;때&nbsp;적용할&nbsp;효과
			@param&nbsp;{Number}&nbsp;[htOption.nFPS=15]&nbsp;효과가&nbsp;재생될&nbsp;초당&nbsp;frame&nbsp;rate
			@param&nbsp;{Number}&nbsp;[htOption.nZIndex=32000]&nbsp;foggy&nbsp;layer의&nbsp;zindex
		@example
			var&nbsp;foggy&nbsp;=&nbsp;new&nbsp;jindo.Foggy({
				sClassName&nbsp;:&nbsp;&quot;fog&quot;,&nbsp;//(String)&nbsp;fog&nbsp;레이어에&nbsp;지정될&nbsp;클래스명
				nShowDuration&nbsp;:&nbsp;200,&nbsp;//(Number)&nbsp;fog&nbsp;레이어가&nbsp;완전히&nbsp;나타나기까지의&nbsp;시간&nbsp;(ms)
				nShowOpacity&nbsp;:&nbsp;0.5,&nbsp;//(Number)&nbsp;fog&nbsp;레이어가&nbsp;모두&nbsp;보여졌을&nbsp;때의&nbsp;투명도&nbsp;(0~1사이의&nbsp;값)
				nHideDuration&nbsp;:&nbsp;200,&nbsp;//(Number)&nbsp;fog&nbsp;레이어가&nbsp;완전히&nbsp;사라지기까지의&nbsp;시간&nbsp;(ms)
				nHideOpacity&nbsp;:&nbsp;0,&nbsp;//(Number)&nbsp;fog&nbsp;레이어를&nbsp;숨기기위해&nbsp;적용할&nbsp;투명도&nbsp;(0~1사이의&nbsp;값)
				fShowEffect&nbsp;:&nbsp;jindo.Effect.linear,&nbsp;//&nbsp;(jindo.Effect)&nbsp;fog&nbsp;레이어를&nbsp;보여줄&nbsp;때&nbsp;적용할&nbsp;효과
				fHideEffect&nbsp;:&nbsp;jindo.Effect.linear,&nbsp;//&nbsp;(jindo.Effect)&nbsp;fog&nbsp;레이어를&nbsp;숨길&nbsp;때&nbsp;적용할&nbsp;효과
				nFPS&nbsp;:&nbsp;15&nbsp;//(Number)&nbsp;효과가&nbsp;재생될&nbsp;초당&nbsp;frame&nbsp;rate
				nZIndex&nbsp;:&nbsp;32000&nbsp;//(Number)&nbsp;foggy&nbsp;layer의&nbsp;zindex.&nbsp;foggy에&nbsp;의해&nbsp;가려지지&nbsp;않게&nbsp;할&nbsp;요소가&nbsp;있는&nbsp;경우에&nbsp;사용&nbsp;
			}).attach({
				beforeShow&nbsp;:&nbsp;function(oCustomEvent)&nbsp;{
					//oCustomEvent.stop();&nbsp;수행시&nbsp;fog레이어를&nbsp;보여주지&nbsp;않음.
				},
				show&nbsp;:&nbsp;function()&nbsp;{
					//fog&nbsp;레이어가&nbsp;화면에&nbsp;보여지고나서&nbsp;발생
				},
				beforeHide&nbsp;:&nbsp;function(oCustomEvent)&nbsp;{
					//oCustomEvent.stop();&nbsp;수행시&nbsp;fog레이어를&nbsp;숨기지&nbsp;않음.
				},
				hide&nbsp;:&nbsp;function()&nbsp;{
					//fog&nbsp;레이어가&nbsp;화면에서&nbsp;숨겨지고나서&nbsp;발생
				}
			});
			
			//컴포넌트에&nbsp;의해&nbsp;생성된&nbsp;fog레이어에&nbsp;대한&nbsp;설정
			foggy.getFog().className&nbsp;=&nbsp;&#39;fog&#39;;
			foggy.getFog().onclick&nbsp;=&nbsp;function()&nbsp;{&nbsp;foggy.hide();&nbsp;};
	**/
	$init&nbsp;:&nbsp;function(htOption)&nbsp;{
		this.option({
			sClassName&nbsp;:&nbsp;&quot;fog&quot;,
			nShowDuration&nbsp;:&nbsp;200,
			nShowOpacity&nbsp;:&nbsp;0.5,
			nHideDuration&nbsp;:&nbsp;200,
			nHideOpacity&nbsp;:&nbsp;0,
			fShowEffect&nbsp;:&nbsp;jindo.Effect.linear,
			fHideEffect&nbsp;:&nbsp;jindo.Effect.linear,
			nFPS&nbsp;:&nbsp;15,
			nZIndex&nbsp;:&nbsp;32000
		});
		this.option(htOption&nbsp;||&nbsp;{});

		this._elFog&nbsp;=&nbsp;jindo.$(&#39;&lt;div&nbsp;class=&quot;&#39;&nbsp;+&nbsp;this.option(&quot;sClassName&quot;)&nbsp;+&nbsp;&#39;&quot;&gt;&#39;);
		this._welFog&nbsp;=&nbsp;jindo.$Element(this._elFog);
		document.body.insertBefore(this._elFog,&nbsp;document.body.firstChild);
		this._welFog.opacity(this.option(&#39;nHideOpacity&#39;));
		this._welFog.hide();

		this._oExcept&nbsp;=&nbsp;{};

		this._oTransition&nbsp;=&nbsp;new&nbsp;jindo.Transition().fps(this.option(&quot;nFPS&quot;));

		this._fOnResize&nbsp;=&nbsp;jindo.$Fn(this._fitFogToDocument,&nbsp;this);
		this._fOnScroll&nbsp;=&nbsp;jindo.$Fn(this._fitFogToDocumentScrollSize,&nbsp;this);
	},

	_getScroll&nbsp;:&nbsp;function(wDocument)&nbsp;{
		return&nbsp;{
			top&nbsp;:&nbsp;window.pageYOffset&nbsp;||&nbsp;document[wDocument._docKey].scrollTop,
			left&nbsp;:&nbsp;window.pageXOffset&nbsp;||&nbsp;document[wDocument._docKey].scrollLeft
		};
	},

	_fitFogToDocument&nbsp;:&nbsp;function()&nbsp;{
		var&nbsp;wDocument&nbsp;=&nbsp;jindo.$Document();

		this._elFog.style.left&nbsp;=&nbsp;this._getScroll(wDocument).left&nbsp;+&nbsp;&#39;px&#39;;
		this._elFog.style.width&nbsp;=&nbsp;&quot;100%&quot;;

		var&nbsp;self&nbsp;=&nbsp;this;
		clearTimeout(this._nTimer);
		this._nTimer&nbsp;=&nbsp;null;

		//가로스크롤이&nbsp;생겼다&nbsp;사라지는경우의&nbsp;버그를&nbsp;수정하기위한&nbsp;setTimeout
		this._nTimer&nbsp;=&nbsp;setTimeout(function(){

			var&nbsp;oSize&nbsp;=&nbsp;wDocument.clientSize();

			self._elFog.style.top&nbsp;=&nbsp;self._getScroll(wDocument).top&nbsp;+&nbsp;&#39;px&#39;;
			self._elFog.style.height&nbsp;=&nbsp;oSize.height&nbsp;+&nbsp;&#39;px&#39;;

			self._elFog.style.left&nbsp;=&nbsp;self._getScroll(wDocument).left&nbsp;+&nbsp;&#39;px&#39;;

		},&nbsp;100);
	},

	_fitFogToDocumentScrollSize&nbsp;:&nbsp;function()&nbsp;{
		var&nbsp;oSize&nbsp;=&nbsp;jindo.$Document().scrollSize();
		this._elFog.style.left&nbsp;=&nbsp;&quot;0&quot;;
		this._elFog.style.top&nbsp;=&nbsp;&quot;0&quot;;
		this._elFog.style.width&nbsp;=&nbsp;oSize.width&nbsp;+&nbsp;&#39;px&#39;;
		this._elFog.style.height&nbsp;=&nbsp;oSize.height&nbsp;+&nbsp;&#39;px&#39;;
	},

	/**
		생성된&nbsp;fog&nbsp;레이어&nbsp;엘리먼트를&nbsp;가져온다.
		
		@method&nbsp;getFog
		@return&nbsp;{HTMLElement}&nbsp;fog&nbsp;레이어&nbsp;엘리먼트
	**/
	getFog&nbsp;:&nbsp;function()&nbsp;{
		return&nbsp;this._elFog;
	},

	/**
		fog&nbsp;레이어가&nbsp;보여졌는지&nbsp;여부를&nbsp;가져온다.
		
		@method&nbsp;isShown
		@return&nbsp;{Boolean}
	**/
	isShown&nbsp;:&nbsp;function()&nbsp;{
		return&nbsp;this._bFogVisible;
	},

	/**
		fog&nbsp;레이어가&nbsp;보여지고&nbsp;있는&nbsp;상태인지&nbsp;여부를&nbsp;가져온다.
		
		@method&nbsp;isShowing
		@return&nbsp;{Boolean}
	**/
	isShowing&nbsp;:&nbsp;function()&nbsp;{
		return&nbsp;this._bFogShowing;
	},
	
	/**
		fog&nbsp;레이어를&nbsp;보여준다.&nbsp;(elExcept는&nbsp;가리지&nbsp;않는다.)
		
		@method&nbsp;show
		@param&nbsp;{HTMLElement}&nbsp;elExcept
	**/
	show&nbsp;:&nbsp;function(elExcept)&nbsp;{
		if&nbsp;(!this._bFogVisible)&nbsp;{
			/**
				foggy&nbsp;가&nbsp;표시되기&nbsp;직전
				
				@event&nbsp;beforeShow
				@param&nbsp;{String}&nbsp;sType&nbsp;커스텀&nbsp;이벤트명
				@param&nbsp;{Number}&nbsp;nValue&nbsp;변경하려&nbsp;한&nbsp;값
				@param&nbsp;{Number}&nbsp;nMin&nbsp;옵션에서&nbsp;정의한&nbsp;최소값
				@param&nbsp;{Number}&nbsp;nMax&nbsp;옵션에서&nbsp;정의한&nbsp;최대값
				@param&nbsp;{Function}&nbsp;stop&nbsp;Foggy&nbsp;를&nbsp;표시하는&nbsp;것을&nbsp;중단하는&nbsp;메서드
				@example
					//&nbsp;커스텀&nbsp;이벤트&nbsp;핸들링&nbsp;예제
					oFoggy.attach(&quot;beforeShow&quot;,&nbsp;function(oCustomEvent)&nbsp;{
						oCustomEvent.stop();&nbsp;//수행시&nbsp;foggy를&nbsp;표시하지&nbsp;않음.
					});
			**/
			if&nbsp;(this.fireEvent(&#39;beforeShow&#39;))&nbsp;{
				if&nbsp;(elExcept)&nbsp;{
					this._oExcept.element&nbsp;=&nbsp;elExcept;
					var&nbsp;sPosition&nbsp;=&nbsp;jindo.$Element(elExcept).css(&#39;position&#39;);
					if&nbsp;(sPosition&nbsp;==&nbsp;&#39;static&#39;)&nbsp;{
						elExcept.style.position&nbsp;=&nbsp;&#39;relative&#39;;
					}

					this._oExcept.position&nbsp;=&nbsp;elExcept.style.position;
					this._oExcept.zIndex&nbsp;=&nbsp;elExcept.style.zIndex;
					elExcept.style.zIndex&nbsp;=&nbsp;this.option(&#39;nZIndex&#39;)+1;
				}

				this._elFog.style.zIndex&nbsp;=&nbsp;this.option(&#39;nZIndex&#39;);
				this._elFog.style.display&nbsp;=&nbsp;&#39;none&#39;;

				this._fitFogToDocument();
				this._fOnResize.attach(window,&nbsp;&quot;resize&quot;);
				this._fOnScroll.attach(window,&nbsp;&quot;scroll&quot;);

				this._elFog.style.display&nbsp;=&nbsp;&#39;block&#39;;

				var&nbsp;self&nbsp;=&nbsp;this;
				this._bFogShowing&nbsp;=&nbsp;true;
				this._oTransition.abort().start(this.option(&#39;nShowDuration&#39;),
					this._elFog,&nbsp;{&nbsp;&#39;@opacity&#39;&nbsp;:&nbsp;this.option(&quot;fShowEffect&quot;)(this.option(&#39;nShowOpacity&#39;))&nbsp;}
				).start(function()&nbsp;{
					self._bFogVisible&nbsp;=&nbsp;true;
					self._bFogShowing&nbsp;=&nbsp;false;
					/**
						foggy&nbsp;가&nbsp;표시되는&nbsp;시점
						
						@event&nbsp;show
						@param&nbsp;{String}&nbsp;sType&nbsp;커스텀&nbsp;이벤트명
						@example
							//&nbsp;커스텀&nbsp;이벤트&nbsp;핸들링&nbsp;예제
							oFoggy.attach(&quot;show&quot;,&nbsp;function(oCustomEvent)&nbsp;{&nbsp;...&nbsp;});
					**/
					self.fireEvent(&#39;show&#39;);
				});
			}
		}
	},

	/**
		fog&nbsp;레이어를&nbsp;숨긴다.
		
		@method&nbsp;hide
	**/
	hide&nbsp;:&nbsp;function()&nbsp;{
		if&nbsp;(this._bFogVisible&nbsp;||&nbsp;this._bFogShowing)&nbsp;{
			/**
				foggy&nbsp;가&nbsp;사라지기&nbsp;직전
				
				@event&nbsp;beforeHide
				@param&nbsp;{String}&nbsp;sType&nbsp;커스텀&nbsp;이벤트명
				@param&nbsp;{Number}&nbsp;nValue&nbsp;변경하려&nbsp;한&nbsp;값
				@param&nbsp;{Number}&nbsp;nMin&nbsp;옵션에서&nbsp;정의한&nbsp;최소값
				@param&nbsp;{Number}&nbsp;nMax&nbsp;옵션에서&nbsp;정의한&nbsp;최대값
				@example
					//&nbsp;커스텀&nbsp;이벤트&nbsp;핸들링&nbsp;예제
					oFoggy.attach(&quot;beforeHide&quot;,&nbsp;function(oCustomEvent)&nbsp;{
						oCustomEvent.stop();&nbsp;//수행시&nbsp;foggy를&nbsp;숨기지&nbsp;않음.
					});
			**/
			if&nbsp;(this.fireEvent(&#39;beforeHide&#39;))&nbsp;{
				var&nbsp;self&nbsp;=&nbsp;this;

				this._oTransition.abort().start(this.option(&#39;nHideDuration&#39;),
					this._elFog,&nbsp;{&nbsp;&#39;@opacity&#39;&nbsp;:&nbsp;this.option(&quot;fHideEffect&quot;)(this.option(&#39;nHideOpacity&#39;))&nbsp;}
				).start(function()&nbsp;{
					self._elFog.style.display&nbsp;=&nbsp;&#39;none&#39;;

					var&nbsp;elExcept&nbsp;=&nbsp;self._oExcept.element;
					if&nbsp;(elExcept)&nbsp;{
						elExcept.style.position&nbsp;=&nbsp;self._oExcept.position;
						elExcept.style.zIndex&nbsp;=&nbsp;self._oExcept.zIndex;
					}
					self._oExcept&nbsp;=&nbsp;{};
					self._fOnResize.detach(window,&nbsp;&quot;resize&quot;);
					self._fOnScroll.detach(window,&nbsp;&quot;scroll&quot;);
					self._bFogVisible&nbsp;=&nbsp;false;
					/**
						foggy&nbsp;가&nbsp;사라지는&nbsp;시점
						
						@event&nbsp;hide
						@param&nbsp;{String}&nbsp;sType&nbsp;커스텀&nbsp;이벤트명
						@param&nbsp;{Number}&nbsp;nValue&nbsp;변경하려&nbsp;한&nbsp;값
						@param&nbsp;{Number}&nbsp;nMin&nbsp;옵션에서&nbsp;정의한&nbsp;최소값
						@param&nbsp;{Number}&nbsp;nMax&nbsp;옵션에서&nbsp;정의한&nbsp;최대값
						@example
							//&nbsp;커스텀&nbsp;이벤트&nbsp;핸들링&nbsp;예제
							oFoggy.attach(&quot;hide&quot;,&nbsp;function(oCustomEvent)&nbsp;{&nbsp;...&nbsp;});
					**/
					self.fireEvent(&#39;hide&#39;);
				});
			}
		}
	}
}).extend(jindo.Component);
</pre>
		</div>
	</div>
</div>

			</div>
		</div>
		<!-- // main content -->

	</div>
	<!-- // container -->

	<!-- footer -->
	<div id="footer">
		<p>Copyright ©<a href="http://nhncorp.com/" target="_blank">NHN Corp.</a> Platform Ajax Team. All Rights Reserved.</p>
	</div>
	<!-- // footer -->

</div>
<!-- // wrap -->

<style type="text/css">

	.item {
		transition:background .2s linear;
		-webkit-transition:background .2s linear;
		-moz-transition:background .2s linear;
		-o-transition:background .2s linear;
		-ms-transition:background .2s linear;
	}
	
	.highlight {
		background-color:#ffffd8 !important;
	}
	
	li.selected a.highlight {
		background-color:#aa8 !important;
	}
	
	.hide-deprecated .deprecated-item, .hide-inherited .inherited-item, .private {
		display:none;
	}
	
	.scrollbar-v, .scrollbar-h { display:none; }
	.scrollbar-show { display:block; }
	
	.api-page .tbl_fold .more_history { display:none; }
	
	/* FILE */
	.file pre.code {
		border:1px solid #ccc;
		padding:0;
	}
	
	.file ol {
		padding-left: 4em;
		background-color: #f9f9f9;
	}

	.file ol li {
		list-style: decimal;
		border-left:1px solid #ccc;
		padding:2px 4px;
	}
	
	.file li.L1, .file li.L3, .file li.L5, .file li.L7, .file li.L9 {
		background-color: #f9f9f9;	
	}

	.file li.L0, .file li.L2, .file li.L4, .file li.L6, .file li.L8 { 
		background-color: #f0f0f0;
	}
	
</style>
<script type="text/javascript" src="../assets/prettify/prettify-min.js"></script>
<script type="text/javascript" src="../assets/hash.js"></script>
<script type="text/javascript" src="../assets/api-list.js"></script>
<script type="text/javascript" src="../assets/api-search.js"></script>
<script type="text/javascript" src="../assets/../api.js?callback=APISearch.setData"></script>
<script type="text/javascript">
	var projectRoot = "../";
	var projectAssets = "../assets";
	
    apiDocs(projectAssets);	
</script>
</body>
</html>